/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Helper;

import entity.FoodItem;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Lu Xiaodi
 */
public class Helper_Outlet implements Serializable {

    private Long id;
    private String outletName;
    private String address;
    private String stakeholderName;
    private String phoneNumber;
    private List<String> cuisineNames = new ArrayList<String>();
    private List<FoodItem> foodMenu = new ArrayList<FoodItem>();
    private Integer bookingWindow;
    private Integer leadTime_Day;

    public Helper_Outlet() {
    }

    public Helper_Outlet(Long id, String outletName, String address, String stakeholderName,
            String phoneNumber, Integer leadTime_day, Integer bookingWindow) {
        this.id = id;
        this.outletName = outletName;
        this.address = address;
        this.stakeholderName = stakeholderName;
        this.phoneNumber = phoneNumber;
        this.bookingWindow = bookingWindow;
        this.leadTime_Day = leadTime_day;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<String> getCuisineNames() {
        return cuisineNames;
    }

    public void setCuisineNames(List<String> cuisineNames) {
        this.cuisineNames = cuisineNames;
    }

    public void addCuisine(String s) {
        this.cuisineNames.add(s);
    }

    public List<FoodItem> getFoodMenu() {
        return foodMenu;
    }

    public void setFoodMenu(List<FoodItem> foodMenu) {
        this.foodMenu = foodMenu;
    }

    public void addFoodItem(FoodItem foodItem) {
        this.foodMenu.add(foodItem);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOutletName() {
        return outletName;
    }

    public void setOutletName(String outletName) {
        this.outletName = outletName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getStakeholderName() {
        return stakeholderName;
    }

    public void setStakeholderName(String stakeholderName) {
        this.stakeholderName = stakeholderName;
    }

    @Override
    public String toString() {
        return this.stakeholderName + ", " + this.outletName;
    }

    /**
     * @return the bookingWindow
     */
    public Integer getBookingWindow() {
        return bookingWindow;
    }

    /**
     * @param bookingWindow the bookingWindow to set
     */
    public void setBookingWindow(Integer bookingWindow) {
        this.bookingWindow = bookingWindow;
    }

    /**
     * @return the leadTime_Day
     */
    public Integer getLeadTime_Day() {
        return leadTime_Day;
    }

    /**
     * @param leadTime_Day the leadTime_Day to set
     */
    public void setLeadTime_Day(Integer leadTime_Day) {
        this.leadTime_Day = leadTime_Day;
    }
}